package com.liulimi.fastapi.core.annotation;

import java.lang.annotation.*;

/**
 * @author cuibaoluo
 * @date 2021/1/8
 * @description：  接口签名验签注解
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Signature {

    /**
     * 字典序排序
     */
    String ALPHA_SORT = "ALPHA_SORT";

    /**
     * 允许重复请求
     */
    boolean resubmit() default true;
    String sort() default Signature.ALPHA_SORT;
}
